$(function () {
    $("#jqGrid").jqGrid({
        url: baseURL + 'project/list2',
        datatype: "json",
        colModel: [			
			{ label: '序号', name: 'userId', hidden: true, index: "user_id",  key: true },
			{ label: '员工姓名', name: 'username', width: 75 },
			{ label: '提醒', name: 'remind',width: 100 },
            { label: '备注', name: 'remark',width: 100 }
        ],
		viewrecords: true,
        autowidth:true,
        height: 385,
        rowNum: 10,
		rowList : [10,30,50],
        rownumbers: true, 
        rownumWidth: 25, 
        autowidth:true,
        pager: "#jqGridPager",
        jsonReader : {
            root: "page.list",
            page: "page.currPage",
            total: "page.totalPage",
            records: "page.totalCount"
        },
        prmNames : {
            page:"page", 
            rows:"limit", 
            order: "order"
        },
      gridComplete:function(){
        	//隐藏grid底部滚动条
        	$("#jqGrid").closest(".ui-jqgrid-bdiv").css({ "overflow-x" : "hidden" }); 
        }
    });
});
var vm = new Vue({
    el:'#rrapp',
    
});

